﻿using System.Threading.Tasks;
using netCoreStudy.Entities;
using netCoreStudy.Entities.Base;

namespace netCoreStudy.IService
{
	public interface IUserService : IBaseService<User>
	{
		bool ExistByName(string name);
		Task<User> GetByNameAsync(string name);
	}
}